package com.itheima.monitor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * todo
 *
 * @author Chengfei
 * @date 2020/8/25 20:53
 */
@SpringBootApplication
@EnableEurekaClient
@EnableTurbine //开启Hystrix仪表盘监控功能
@EnableHystrixDashboard  //开启Hystrix仪表盘监控功能
public class HystrixMonitorApp {

    public static void main(String[] args) {

        SpringApplication.run(HystrixMonitorApp.class, args);
    }
}
